﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AuthTemplate.ViewModel
{
    public class MyResponse
    {
        public int Code { get; set; }

        public string Message { get; set; }

        public MyResponse()
        {
            this.Code = 200;
            this.Message = "操作成功";
        }

    }

    public class MyResponse<T>: MyResponse
    {
        public T data { get; set; }
    }
}
